package com.hexiang.service;

import com.hexiang.domain.CommonResponse;
import com.hexiang.domain.User;

public interface UserHttpService {

    CommonResponse getUsers();

    CommonResponse getUserByName(String name);

    CommonResponse addUser(String name, int age);

    CommonResponse deleteUserById(Long id);

    CommonResponse updateUser(User user);

    CommonResponse getUserPage(Integer pageNum, Integer pageSize);

}